package com.fire.control.system.support.protocol.middleware;

import com.fire.control.system.entity.Middleware;
import com.fire.control.system.support.protocol.comman.RequestProtocol;

/**
 * @author liuxincheng
 * @ClassName: MiddleWareRequestProtocol
 * @Description: TODO(中间件请求协议)
 * @date 2017年6月21日 上午11:25:29
 */
public class MiddleWareRequestProtocol extends RequestProtocol {

	private static final long serialVersionUID = 1L;

	//传入的实体参数
	private Middleware middleware;
	
	//当前页码
	private int pageNum;

	//页面大小
	private int pageSize;
	
	private String[] middlewareIds;
	
	private String middlewareId;
	
	public Middleware getMiddleware() {
		return middleware;
	}

	public void setMiddleware(Middleware middleware) {
		this.middleware = middleware;
	}

	public int getPage() {
		return pageNum;
	}

	public void setPage(int page) {
		this.pageNum = page;
	}

	public int getSize() {
		return pageSize;
	}

	public void setSize(int size) {
		this.pageSize = size;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public String[] getMiddlewareIds() {
		return middlewareIds;
	}

	public void setMiddlewareIds(String[] middlewareIds) {
		this.middlewareIds = middlewareIds;
	}

	public String getMiddlewareId() {
		return middlewareId;
	}

	public void setMiddlewareId(String middlewareId) {
		this.middlewareId = middlewareId;
	}
}
